# It is recommended to test the script on a local machine for its purpose and effects. # ManageEngine Desktop Central will not be responsible for any # damage/loss to the data/setup based on the behavior of the script. # Description - Script to Find whether File/Folder exist or not # Parameters - "" # Remarks - Please choose Enable Logging option to find the File/Folder exist. # Configuration Type - COMPUTER/USER #/bin/sh if [ $# == '1' ]; then continue else echo "Invalid Arguments - Please refer description of Script" exit 1 fi if [ -e "$1" ] then echo "File $1 exist" else echo "File $1 not exist" fi exit $?